<html>
<form method="post" action="demo.php">
<input type="text" name="testvar" value="{$testvar_posted}">
<br />
<input type="submit" name="submit" value="Send">
</form>



<p></p>

<b>Before insert:</b><br />
{$testvar_posted}

<p>&nbsp;</p>
<b>Sent to DB:</b><br />
{$testvar_db}

<p>&nbsp;</p>
<b>Grabbed from DB:</b><br />
{$testvar_afterdb}


</html>